<div class="modal-body">
    <div class="container-fluid form-horizontal ">
      <div class="panel panel-info form-horizontal">
		<div class="panel-heading ">
			项目编辑
		</div>
		<div class="panel-body">
			<div class="container-fluid">
				<div class="  wrapper-md ng-scope" style="text-align: center">
     <h1 class="m-n font-thin h3 ng-binding">项目编辑</h1>
</div>
<div class="col-sm-12" style="padding:10px">
    <div class="col-sm-4"></div>
    <div class="col-sm-4">
        <input type="text" class="form-control" ng-model="a.project_name" placeholder="项目名称"> 
    </div>
    <div class="col-sm-4"></div>  
</div>
<div class="col-sm-12" style="padding:10px">
    <div class="col-sm-4"></div>
    <div class="col-sm-4">
       <ui-select ng-model="a.project_type" theme="bootstrap" >
            <ui-select-match placeholder="申报类别">
                {{$select.selected.value}}
             </ui-select-match>
             <ui-select-choices repeat="item.value as item in ntarr | filter: $select.search">
                <span ng-bind-html="item.value | highlight: $select.search"></span>
             </ui-select-choices>
       </ui-select>
    </div>
    <div class="col-sm-4"></div>
</div>

<div class="col-sm-12" style="padding:10px">
    <div class="col-sm-4">
        <label class="pull-right">项目所属：&nbsp;&nbsp;</label>
    </div>
    <div class="col-sm-8">
        
           
                <label ng-repeat="item in applyarr"
                class="i-checks  checkbox-inline " style="padding-top:0px">
                  <input type="radio" value={{item.value}} 
                  ng-checked="a.city_project == item.value"
                  ng-model="a.city_project"
                  >
                  <i></i>
                  {{item.name}}
                </label>           
    </div>   
</div>

<div class="col-sm-12" style="padding:10px">
    <div class="col-sm-4">
        <label class="pull-right">项目所属责任处室：&nbsp;&nbsp;</label>
    </div>
    <div class="col-sm-8">         
                <label ng-repeat="item in rfoarr"
                class="i-checks  checkbox-inline " style="padding-top:0px">
                  <input type="radio" value={{item.value}} 
                  ng-checked="a.recommend_type == item.value"
                  ng-model="a.recommend_type"
                  >
                  <i></i>
                  {{item.name}}
                </label>          
    </div>   
</div>
 <div class="col-sm-12" style="padding:10px">
    <div class="col-sm-4"></div>
    <div class="col-sm-4">
        <button class="btn m-b-xs w-sm btn-info" ng-click="image()">
            <i class="fa fa-file-image-o"></i> 添加图片
        </button> 
    </div>
    <div class="col-sm-4"></div>  
</div>

        
 <div class="col-sm-12" style="padding:10px" ng-repeat="item in imagearr">           
            <div class="col-sm-4" >         
             </div> 
            <div class="col-sm-4">
                <img ng-src="{{item}}" width="100%" height="100"  ng-show="item.lastIndexOf('.pdf')=='-1'">
                <a href= "{{item}}" target="_Blank" ng-show="item.lastIndexOf('.pdf')!='-1'">{{item}}</a>
                <a type = 'button' class="btn-xs m-b-xs w-sm btn-danger" ng-click="del($index)">删除</a>	
            </div> 
        </div>           


<div class="col-sm-12" style="padding:20px">
    <div class="col-sm-4"></div>
    <div class="col-sm-4">
        <button class="btn btn-success " ng-click="submit()">修改材料</button>
    </div>
    <div class="col-sm-4"></div>  
</div>